﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Index.Master" AutoEventWireup="true" CodeBehind="home_Food.aspx.cs" Inherits="Dryricenet.home_Food" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="CSS/home/index.css" rel="stylesheet" />
    <link href="CSS/menu.css" rel="stylesheet" />
    <style>
        .td_a:hover {
    transform: scale(1.1);
    box-shadow: 5px 5px 5px 5px #808080;
    transition: all 0.5s;
}
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="menu">
        <ul>
            <li>
                <asp:Button ID="Button1" runat="server" Text="主食" CssClass="menu_an z" OnClick="Button1_Click" /></li>
            <li>
                <asp:Button ID="Button2" runat="server" Text="凉菜" CssClass="menu_an l" OnClick="Button2_Click" /></li>
            <li>
                <asp:Button ID="Button3" runat="server" Text="汤" CssClass="menu_an t" OnClick="Button3_Click" /></li>
            <li>
                <asp:Button ID="Button4" runat="server" Text="地方菜系" CssClass="menu_an d" OnClick="Button4_Click" /></li>
            <li>
                <asp:Button ID="Button5" runat="server" Text="甜点" CssClass="menu_an td" OnClick="Button5_Click" /></li>
            <li>
                <asp:Button ID="Button6" runat="server" Text="火锅" CssClass="menu_an h" OnClick="Button6_Click" /></li>
            <li>
                <asp:Button ID="Button7" runat="server" Text="烧烤" CssClass="menu_an sk" OnClick="Button7_Click" /></li>
            <li>
                <asp:Button ID="Button8" runat="server" Text="海鲜" CssClass="menu_an hx" OnClick="Button8_Click" /></li>
            <li>
                <asp:Button ID="Button9" runat="server" Text="饮料" CssClass="menu_an yl" OnClick="Button9_Click" /></li>
        </ul>
    </div>
    <div id="meiSi">
        <asp:DataList ID="DataList2" runat="server" Height="22%" RepeatColumns="5" Width="236px">
            <ItemTemplate>
                <a href="home_Details.aspx?FoodID=<%#DataBinder.Eval(Container.DataItem, "FoodID") %>" class="td_a">
                    <table align="center" border="0" bordercolor="#00FFFF" cellpadding="3" cellspacing="1"
                        style="border-collapse: collapse;" width="100%">

                        <tr>
                            <td  style="text-align: center;" height="140">
                                <asp:Image ID="Image1" runat="server" Height="100%" ImageUrl='<%# Eval("PicUrl") %>'
                                    Width="206" CssClass="td_img" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Literal ID="Literal1" runat="server" Text='<%# Eval("FoodName") %>'></asp:Literal>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <span style="color: red; font-size: 17px;">￥</span>
                                <asp:Label ID="Label1" runat="server" Text='<%# Eval("Price") %>' ForeColor="Red" CssClass="qian"></asp:Label>
                            </td>
                        </tr>
                </a>
                </table>
            </ItemTemplate>
        </asp:DataList>
    </div>
</asp:Content>
